package com.wqr.dao;

import com.wqr.pojo.UserStates;
import com.wqr.pojo.UserStatesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserStatesDao {
    int countByExample(UserStatesExample example);

    int deleteByExample(UserStatesExample example);

    int deleteByPrimaryKey(Integer userStateId);

    int insert(UserStates record);

    int insertSelective(UserStates record);

    List<UserStates> selectByExample(UserStatesExample example);
    
    List<UserStates> selectByWhere(UserStates record);
    
    List<UserStates> selectAll();

    UserStates selectByPrimaryKey(Integer userStateId);

    int updateByExampleSelective(@Param("record") UserStates record, @Param("example") UserStatesExample example);

    int updateByExample(@Param("record") UserStates record, @Param("example") UserStatesExample example);

    int updateByPrimaryKeySelective(UserStates record);

    int updateByPrimaryKey(UserStates record);
    
}